package com.woniu.smart.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author meibing
 * @Description
 * @date 2022/10/24-17:20
 **/
@Data
public class ContractInformationDTO {

    //前端页面输入
    private Integer contractId;  //合同id
    private String enterpriseName; //企业名称
    private String contractNum;  //合同编号
    private String contractAtt;  //合同属性（类别）(1新签,2续签)
    private String contractState;  //合同状态 (1生效中,2到期,3退租)

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractRenewal;  //续签时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractExpire;  //到期时间
    private String contractPhone;  //企业负责人电话

    private String contractBy1;  //合同备用1 （负责人姓名）

    private String contractBy2;  //合同备用2  企业银行卡号

    private String contractBy3;  //租户公司姓名

    private String contractCollection;  //收款凭证

    private Integer informationType;   //账单类型 (1车辆缴费,2合同,3.公共资源出租  默认：1)
    private String informationMoney;  //缴费金额
    private Integer informationBy1;//账单表备用1
    private Integer staffsId;  //员工id/负责人
    private String staffsName;  //负责人姓名
    private String staffsTel;   //联系人电话
    private Integer staffstypeId;


    private Integer roomId;  //房间id
    private  String roomName;//房间名字
    private String buildingName;//楼宇的名字
    private Integer enterpriseId;    //企业id

    private Integer informationId;  //账单id
    private Integer informationYn;   //是否缴费(1是,2否)



}
